﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Kylin.Wiki.Model.Entity
{
    public class BaseEntity
    {

        /// <summary>
        /// 是否删除
        /// </summary>
        [DisplayName("是否删除")]
        [Column("is_delete")]
        public string IsDelete { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [DisplayName("创建人")]
        [Column("create_by")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        [Column("create_on")]
        public DateTime? CreateOn { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [DisplayName("更新人")]
        [Column("update_by")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [DisplayName("更新时间")]
        [Column("update_on")]
        public DateTime? UpdateOn { get; set; }
    }
}
